home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Especial Multimedia
/
Especial Multimedia.iso
/
Multimed
/
Herra
/
POPOUT21.ZIP
/
TGA2BMP.TXT
< prev
next >
Wrap
Text File
|
1994-03-24
|
2KB
|
39 lines
TGA2BMP.EXE is a simple DOS command line utility we've included
that will convert a Type 1, 2 or 3 Targa file to either a 16 or
256 color BMP file.
This is a very basic utility, not full of great capabilities.
The intent is simply to give the POPOUT user an easy mechanism
of converting Targa files to BMP format so that they can be
viewed using Paintbrush. This utility is NOT a generic
TGA to BMP converter! There is a possibility that the
resultant BMP image may be upside down. The primary reason
for including this utility is to give the user the ability
to take a depth-encoded greyscale Targa file generated by the
PLY2POP utility, and convert it to BMP format so that it
could be viewed using Paintbrush. That's all. The EXAMPI2.BMP
image was generated by using a raytracing program to generate
a depth encoded Targa image, then using PLY2POP to convert the
image to greyscale. TGA2BMP was then used on the result to
generate EXAMPI2.BMP so we could include it with this diskette
in such a way as to use Paintbrush to let you view it.
All that aside, here's how the utility works:
Type 1 Targa files will convert to 16-color BMP images by
treating ONLY THE RED as depth information, and will use
16 colors compatible with the POPOUT BMP Source File. Type 1
Targa files will convert to 256-color BMP using all 256 colors.
Type 2 Targa files will convert to either 16 or 256 color BMP
by looking ONLY AT THE RED channel. When converting to 16-color
BMP, TGA2BMP will use the 16 colors compatible with the POPOUT
BMP Source File.
Type 3 Targa files will convert nicely into either 16 or 256
color BMP files. Like with the other Targa formats, the
conversion to 16 color BMP files will use the POPOUT Source
File colors. The EXAMPI2.BMP image was generated from a
Type 3 Targa generated by PLY2POP.